{volist name="dataList" id="vo"}
<div class="media box box-solid x-p-10 donghua fadeIn">
	<a class="media-left" href="{$vo.arcurl}" title="{$vo.title}">
       	<img class="media-object x-yy-4" src="{$vo.litpic|default='/static/common/img/logo.jpg'}" />
	</a>
	<div class="media-body x-dwr">
		{eq name="$vo['writer']" value="$user['id']"}
		<div class="x-dwa-rb">
			<a href="{:url('@member/index/edit',['id'=>$vo['id']])}" class="btn btn-xs btn-info btn-flat"><i class="fa fa-pencil-square-o"></i> 编辑</a>
			<a href="javascript:void(0);" data-dataobj='{"title":"删除提醒","info":"确认要删除吗？","url":"{:url('@member/index/delete')}","data":{"id":"{$vo['id']}"}}' class="popups btn btn-xs btn-danger btn-flat"><i class="fa fa-trash-o"></i> 删除</a>
		</div>
		{/eq}
		<a href="{$vo.arcurl}" class="" title="{$vo.title}">
			<h4 class="media-heading x-t-no1 x-mb-0 x-lh-28">{$vo.title}</h4>
			<p class="x-t-no3 x-lh-20 text-muted x-mb-0">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$vo.description|default='没有简介'}
			</p>
		</a>
	</div>
	<div class="x-tc-hui x-mt-5">
        <div class="pull-left">
            <a href="{:url('/category/'.$vo->Arctype->dirs)}" class="text-muted" title="{$vo->Arctype->typename}">
            	<i class="fa fa-tags"></i> {$vo->Arctype->typename}
            </a>
        </div>
        <div class="pull-left x-ml-5">
            <a href="/userinfo/{$vo['user']['id']}" class="text-muted" title="{$vo['user']['name'] ?: $vo['user']['username']} 发布">
            	<i class="fa fa-user"></i> {$vo['user']['name'] ?: $vo['user']['username']}
            </a>
        </div>
        <div class="pull-right x-tr">
            <i class="fa fa-clock-o x-pr-5"> {$vo.create_time}</i>
            <i class="fa fa-eye x-pr-5"> {$vo.click}</i>
            <i class="fa fa-commenting-o x-pr-5"> {$vo['reply_num']}</i>
            <i class="fa fa-thumbs-o-up"> {$vo['zan_num']}</i>
        </div>
   </div>
	{if condition="strchr($vo['flag'],'h')"}
	    <div class="x-jb">头条</div>
	{elseif condition="strchr($vo['flag'],'a')" /}
		<div class="x-jb x-bgc-cheng">置顶</div>
	{elseif condition="strchr($vo['flag'],'c')"}
		<div class="x-jb x-bgc-lv">推荐</div>
	{/if}
</div>
{/volist}